package xyz.somersames.dao.elastic_search.impl;

import org.springframework.stereotype.Service;
import xyz.somersames.dao.elastic_search.IElasticSearch;

import java.io.InputStream;
import java.util.HashMap;
import java.util.Map;

@Service
public class ElasticSearchImpl implements IElasticSearch {

    @Override
    public void createIndex() {
        InputStream esSql = ElasticSearchImpl.class.getClassLoader().getResourceAsStream("");
        Map<String,Integer> map =new HashMap<>();
        for(Map.Entry<String,Integer> entry :map.entrySet()){
            if(entry.getValue() == 3){

            }
        }
    }
}
